package com.lkx.farmershop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lkx.farmershop.common.api.ApiResult;
import com.lkx.farmershop.model.entity.Upvote;

/**
 * (Upvote)表服务接口
 *
 * @author makejava
 * @since 2025-02-24 00:08:10
 */
public interface UpvoteService extends IService<Upvote> {

    ApiResult<String> upvote(Long userId, Long tuanId);

    ApiResult<Boolean> hasUpvote(Long tuanId, Long userId);
}

